package com.base.kongjian.entity;

import com.mysteel.core.Entity;

/**
 * 作品分享记录
 * @author chendonglin
 *
 */
public class WorkShareRec implements Entity
{

	private static final long serialVersionUID = -3872267748429448518L;
	
	private long id;			//PK
	
	private int workKind;		//作品种类1-微博,2-视频,3-音乐,4-帖子,5-照片	
	
	private long workId; 		//比如微博ID,音乐ID,视频ID..
	
	private long publisherId;	//发表者ID
	
	private long sharerId;		//分享者ID(转发,收藏)
	
	private int type;			//1-转发 ,2-收藏,3-点赞,4评论
	
	private long shareTime;		//分享的时间

	public long getShareTime()
	{
		return shareTime;
	}

	public void setShareTime(long shareTime)
	{
		this.shareTime = shareTime;
	}

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}

	public int getWorkKind()
	{
		return workKind;
	}

	public void setWorkKind(int workKind)
	{
		this.workKind = workKind;
	}

	public long getWorkId()
	{
		return workId;
	}

	public void setWorkId(long workId)
	{
		this.workId = workId;
	}

	public long getPublisherId()
	{
		return publisherId;
	}

	public void setPublisherId(long publisherId)
	{
		this.publisherId = publisherId;
	}

	public long getSharerId()
	{
		return sharerId;
	}

	public void setSharerId(long sharerId)
	{
		this.sharerId = sharerId;
	}

	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public WorkShareRec(long id, int workKind, long workId, long publisherId,
			long sharerId, int type,long shareTime)
	{
		super ();
		this.id = id;
		this.workKind = workKind;
		this.workId = workId;
		this.publisherId = publisherId;
		this.sharerId = sharerId;
		this.type = type;
		this.shareTime =  shareTime;
	}

	public WorkShareRec()
	{
		super ();
	}
	
}
